.clearfix{
  text-align: left;
  &::after{
    display: block;
    height: 0;
    content: ".";
    clear: both;
    visibility: hidden;
  }
}

.float-left{
  float: left;
}

.float-right{
  float: right;
}

.align-left{
  text-align: left;
}

.align-right{
  text-align: right;
}

.small-size{
  font-size: 12px!important;
}

.large-size{
  font-size: 16px!important;
}

.searchBox{
  line-height: 80px;
  background: white;
  //padding: 0 24px;
  margin-bottom: 16px;
  border-radius: 8px;
}

.el-pagination {
  text-align: right;
  margin-top: 18px;
}

.el-table th{
  background-color: #fafafa;
}
// ----------修改elementui表格的默认样式-----------
.el-table__body-wrapper {
  &::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }
  &::-webkit-scrollbar-track {
    background-color: #fff;
  }
  &::-webkit-scrollbar-thumb {
    background-color: #ccc;
  }
  &::-webkit-scrollbar-thumb:hover {
    background-color: #409eff;
  }
}
 
// 解决表格固定列问题
.el-table__fixed,
.el-table__fixed-right{
  height: calc(100% - 7px) !important;
  box-shadow: -5px -2px 10px rgba(0,0,0,.12) !important;
  .el-table__fixed-body-wrapper{
    height: calc(100% - 36px) !important;
  }
}
// 当表格没有滚动条时
.el-table__body-wrapper.is-scrolling-none~.el-table__fixed-right{
  height: 100% !important;
  bottom: 0 !important;
  box-shadow: none !important;
}
// 当表格有纵向滚动条时
.el-table--scrollable-y .el-table__fixed-right{
  right: 7px !important;
}
// 当表格只有横向滚动条，没有纵向滚动条时
.el-table--scrollable-x:not(.el-table--scrollable-y) .el-table__fixed-right{
  right: 0 !important;
}